package com.epoque.admin.server.mapper;

import org.apache.ibatis.annotations.Param;

import com.epoque.admin.server.model.Group;

import tk.mybatis.mapper.common.Mapper;

/**
 * 
 * @ClassName: GroupMapper
 * @Description: 角色组mapper
 * @author qiuxianfeng
 * @date 2018年8月29日
 *
 */
public interface GroupMapper extends Mapper<Group> {
    public void deleteGroupMembersById (@Param("groupId") int groupId);
    public void deleteGroupLeadersById (@Param("groupId") int groupId);
    public void insertGroupMembersById (@Param("groupId") int groupId,@Param("userId") int userId);
    public void insertGroupLeadersById (@Param("groupId") int groupId,@Param("userId") int userId);
}